
<?php
$age = $_GET['age'];
if($age>0 && $age<=2){
  echo "yinger";
}
if($age>2 && $age<=18){
  echo "qingshaonian";
}
if($age>18 && $age<=30){
  echo "chengnian";
}
if($age>30 && $age<=50){
  echo "laonian";
}

?>
